import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/index'
import Layout from 'views/layout/layout'
import Login from 'views/login/login'

Vue.use(Router)

export default new Router({
	routes: [{
			path: '/',
			name: 'Index',
			component: Index
		},
		{
			path: '/Layout',
			name: 'Layout',
			component: Layout
		},
		{
			path: '/login',
			name: 'Login',
			component: Login
		}
	]
})